Functions
Reading and Writing Camera File

Includes APIs for reading files from and writing files to cameras. More...

Functions

def MV_CC_FileAccessRead (self, stFileAccess)
 Reads files from the device. More...
 
def MV_CC_FileAccessReadEx (self, pstFileAccessEx)
 Reads the Data file from the device (extended). More...
 
def MV_CC_FileAccessWrite (self, stFileAccess)
 Writes files to the device. More...
 
def MV_CC_FileAccessWriteEx (self, pstFileAccessEx)
 Writes buffer to the device (extended). More...
 
def MV_CC_GetFileAccessProgress (self, pstFileAccessProgress)
 Gets the file access progress. More...
 

Detailed Description

Includes APIs for reading files from and writing files to cameras.

Function Documentation

◆ MV_CC_FileAccessRead()

def MvCameraControl_class.MV_CC_FileAccessRead (   self,
  stFileAccess 
)

Reads files from the device.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
pstFileAccess[IN] It refers to the file access structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.

◆ MV_CC_FileAccessReadEx()

def MvCameraControl_class.MV_CC_FileAccessReadEx (   self,
  pstFileAccessEx 
)

Reads the Data file from the device (extended).

Parameters
handle[IN] It refers to device handle / frame grabber handle.
pstFileAccess[IN] It refers to the file access structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API to read and write the file by using the buffer data in case of the error of no access permission.

◆ MV_CC_FileAccessWrite()

def MvCameraControl_class.MV_CC_FileAccessWrite (   self,
  stFileAccess 
)

Writes files to the device.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
pstFileAccess[IN] It refers to the file access structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.

◆ MV_CC_FileAccessWriteEx()

def MvCameraControl_class.MV_CC_FileAccessWriteEx (   self,
  pstFileAccessEx 
)

Writes buffer to the device (extended).

Parameters
handle[IN] It refers to the device handle / frame grabber handle.
pstFileAccessEx[IN][OUT] It refers to the file access structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API to read and write the file by using the buffer data in case of the error of no access permission. It is an extended API of MV_CC_FileAccessWrite().

◆ MV_CC_GetFileAccessProgress()

def MvCameraControl_class.MV_CC_GetFileAccessProgress (   self,
  pstFileAccessProgress 
)

Gets the file access progress.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
pstFileAccessProgress[IN][OUT] It refers to the file access progress.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure (the access status of current file).